package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * 模版
 */
@Alias("adTemplate")
public class AdTemplate extends PO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6584098939308116665L;
	
	/**
	 * 供应商标识，对应supplier.id
	 */
	private Integer supplierId;
	
	/***
	 * 平台标识，对应ad_platform.id
	 */
	private Integer platformId;
	

	/**
	 * 模版名称
	 */
	private String name;

	/**
	 * 示例图片地址
	 */
	private String sampleUrl;

	/**
	 * 描述
	 */
	private String description;

	/**
	 * 状态 -1 删除 0 初始 1 有效  默认为 1 有效
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;
	
	/**
	 * 模版支持的交互方式, 为空时都支持
	 */
	private String interactionType;
	
	/**
	 * 模版所支持的媒体, 为空时都支持
	 */
	private String media;
	
	public Integer getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}
	
	public Integer getPlatformId() {
		return platformId;
	}

	public void setPlatformId(Integer platformId) {
		this.platformId = platformId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSampleUrl() {
		return sampleUrl;
	}

	public void setSampleUrl(String sampleUrl) {
		this.sampleUrl = sampleUrl;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getInteractionType() {
		return interactionType;
	}

	public void setInteractionType(String interactionType) {
		this.interactionType = interactionType;
	}

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}

}
